Website powered by

UE5.4 procedural Lava & Magma Material

I created this Lave material with full controls over the size, shape, and speed. Can transform into Magma with procedural generation.
Resources
Check out my Blog where I linked my other Materials:
https://sites.google.com/c.ringling.edu/obsidians-blog/home
Resources
Rippled Lava Rock
https://www.fab.com/listings/2038403b-552c-49cd-8746-eb32d85f22b6
Water Flow Maps - UE4 Materials 101 - Episode 29
https://www.youtube.com/watch?v=9N-pQNPChxU

Preview of the final product
Lava material with full controls over the size, shape, and speed. Can transform into Magma with procedural harden generation.

Preview of the final product
Lava material with full controls over the size, shape, and speed. Can transform into Magma with procedural harden generation.

video show case

Reference and Idea Summary

Reference and Idea Summary

Creating a magma material
I found this cool down magma material on quixel bridge

Creating a magma material
I found this cool down magma material on quixel bridge

Using the two deformed noise Map as mask to lerp two orange color

Using the two deformed noise Map as mask to lerp two orange color

Using the AO Map as mask to lerp Lava and the rock to make magma

Using the AO Map as mask to lerp Lava and the rock to make magma

final result

final result

Vertex color & flow map
Connecting the vertex color to height lerp to merge the materials

Vertex color & flow map
Connecting the vertex color to height lerp to merge the materials

I am using two channels here because I want to control the harden and the melted part of the magma

I am using two channels here because I want to control the harden and the melted part of the magma

I want the magma that can move at different direction to simulate the movement of the magma in real life.

I want the magma that can move at different direction to simulate the movement of the magma in real life.

Flowmap function, credited to Ben Cloward and his amazing flowmap tutorial

Flowmap function, credited to Ben Cloward and his amazing flowmap tutorial

Final result

Final result

Distance to the nearest surface
Connecting the SAME custom parameter to lerp all the ice and water materials

Distance to the nearest surface
Connecting the SAME custom parameter to lerp all the ice and water materials

Finished

Finished

Final result1

Final result1

Final result2

Final result2

Complete Material Graph
The magma is now complete and looks realistic. It can transform into lava using a single parameter slider and has many other settings to alter the speed, shape, and color of the magma and lava

Complete Material Graph
The magma is now complete and looks realistic. It can transform into lava using a single parameter slider and has many other settings to alter the speed, shape, and color of the magma and lava